let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n103,
                    i =
                    (this && this.__extends) ||
                    ((_n103 = function n(t, e) {
                            return (_n103 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n103(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        }),
                    r =
                    (this && this.__decorate) ||
                    function(t, e, o, n) {
                        var i,
                            r = arguments.length,
                            a =
                            r < 3 ?
                            e :
                            null === n ?
                            (n = Object.getOwnPropertyDescriptor(e, o)) :
                            n;
                        if (
                            'object' ==
                            (typeof Reflect === 'undefined' ?
                                'undefined' :
                                typeof(Reflect)) &&
                            'function' == typeof Reflect.decorate
                        )
                            a = Reflect.decorate(t, e, o, n);
                        else
                            for (var s = t.length - 1; s >= 0; s--) {
                                (i = t[s]) &&
                                (a = (r < 3 ? i(a) : r > 3 ? i(e, o, a) : i(e, o)) || a);
                            }
                        return r > 3 && a && Object.defineProperty(e, o, a), a;
                    };
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.Guide7 = void 0);
                var a = t('AbsGuideAction'),
                    s = t('UIMrg'),
                    c = t('BattlePanel'),
                    l = t('MergeMrg'),
                    u = t('GainCardPanel'),
                    h = cc._decorator,
                    p = h.ccclass,
                    f =
                    (h.property,
                        (function(t) {
                            function e() {
                                var e = t.call(this) || this;
                                return e.addStep(e.G1), e.addStep(e.G2), e;
                            }
                            return (
                                i(e, t),
                                (e.prototype.G1 = function() {
                                    var t = s.UIMrg.getPanel(c.BattlePanel);
                                    if (
                                        t &&
                                        t.isShow &&
                                        (null == this.target || this.target == this)
                                    ) {
                                        var e = void 0;
                                        (this.location.x = 0),
                                        (this.location.y =
                                            949 - cc.Canvas.instance.node.height / 2 + 100),
                                        (this._augmentHeight = 30),
                                        (this._augmentWidth = 30);
                                        for (var o = 0; o < l.MergeMrg.grids.length; o++) {
                                            for (
                                                var n = l.MergeMrg.grids[o], i = 0; i < n.length; i++
                                            ) {
                                                var r = n[i];
                                                if (r.card)
                                                    if (null == e) e = r;
                                                    else {
                                                        var a = Math.abs(e.view.x) + Math.abs(e.view.y);
                                                        Math.abs(r.view.x) + Math.abs(r.view.y) < a &&
                                                            (e = r);
                                                    }
                                            }
                                        }
                                        this.setTarget(e.view);
                                    }
                                }),
                                (e.prototype.G2 = function() {
                                    var t = s.UIMrg.getPanel(u.GainCardPanel);
                                    t &&
                                        t.isShow &&
                                        ((this.location.y = -200),
                                            (this._augmentHeight = 50),
                                            (this._augmentWidth = 50),
                                            this.setTarget(t.btnClose));
                                }),
                                r([p('Guide7')], e)
                            );
                        })(a.AbsGuideAction));
                (o.Guide7 = f), console.log("end");
            module.exports =  e.exports;